package com.seguriapp.configuration;

import java.util.Map;

import org.simpleframework.xml.ElementMap;
import org.simpleframework.xml.Root;

@Root(name = "mapRelations")
public class MapRelationsList {

  @ElementMap(entry = "webRelation", key = "key", attribute = true, inline = true)
  private Map<Integer, Double> relationsList;

  @ElementMap(entry = "mobileRelation", key = "key", attribute = true, inline = true)
  private Map<Integer, Double> mobileRelationsList;

  public Map<Integer, Double> getRelationsList() {
    return relationsList;
  }

  public void setRelationsList(final Map<Integer, Double> relationsList) {
    this.relationsList = relationsList;
  }

  public Map<Integer, Double> getMobileRelationsList() {
    return mobileRelationsList;
  }

  public void setMobileRelationsList(final Map<Integer, Double> mobileRelationsList) {
    this.mobileRelationsList = mobileRelationsList;
  }

}
